project( RandomChar )

set(Boost_USE_STATIC_LIBS        ON)
set(Boost_USE_MULTITHREADED      ON)
set(Boost_USE_STATIC_RUNTIME    OFF)

find_package( Boost )
MESSAGE("Boost information:") 
MESSAGE("  Boost_INCLUDE_DIRS: ${Boost_INCLUDE_DIRS}") 
MESSAGE("  Boost_LIBRARIES: ${Boost_LIBRARIES}") 
MESSAGE("  Boost_LIBRARY_DIRS: ${Boost_LIBRARY_DIRS}") 
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
LINK_DIRECTORIES(${Boost_LIBRARY_DIRS})

find_package( OpenCV REQUIRED )
include_directories( /home/moos/ucl/proj/code/cpp/boost/boost/ )
include_directories( /home/moos/ucl/proj/code/cpp/bezier/ )
add_executable( randomgen randomgen.cpp )
add_executable( randomgen2 randomgen2.cpp complexity.cpp )
add_executable( randomgen3 randomgen3.cpp complexity.cpp bezier.cpp )
add_executable( test test.cpp )
add_executable( testboost testboost.cpp )
target_link_libraries( randomgen ${OpenCV_LIBS} )
target_link_libraries( randomgen2 ${OpenCV_LIBS} )
target_link_libraries( randomgen3 ${OpenCV_LIBS} )
set(CMAKE_CXX_FLAGS "-g -Wall -Wextra")
